using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace Data.DataSources {
	public class StateFlowActionsDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "v_StateFlowAction"; } }
		public override string InsertViewName { get { return "ts_StateFlowAction"; } }
			public StateFlowActionsDataSource() {
			OrderBy.Add("Name");
		}
		/*
		public DataView Select_StatesFlowActions() {
			DS.SelectCommand = "SELECT * FROM v_StateFlowAction ORDER BY Name";
			return AddRowIfEmpty(DS.Select(new DataSourceSelectArguments()));
		}
		public int Delete_StatesFlowAction(int ID) {
			DS.DeleteCommand = "DELETE FROM ts_StateFlowAction WHERE ID=@ID";
			DS.DeleteParameters.Add("ID", ID + "");
			try {
				return DS.Delete();
			} catch(Exception exc) {
				ClientException.Publish(exc);
				throw exc;
			}
		}
		 */

	}
}